package com.estar.integaration.entity.paymentPlanEntity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * <p>
 *  供应商账期
 * </p>
 *
 * @author YJL
 * @since 2022-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Entity
public class SupplierAccountPeriod implements Serializable {

    @Id
    private String id;

    /**
     * 供应商名称
     */
    @ExcelProperty("名称")
    private String supplierName;

    /**
     * 0 凭票1个月	1 凭票2个月	2 凭票3个月	3 款到发货	4 凭票付款	5 凭票两个月	6 其他
     */
    @ExcelProperty("付款条件")
    private String accountPeriod;

    /**
     * 实际需要加上去的时间
     */
    @ExcelProperty(index = 10)
    private String realNeedAddDay;

    /**
     * 自然语言
     */
    @ExcelProperty(index = 11)
    private String naturalSentence;


}
